<?php
/**
 * User: @lixu
 * Date: 2019-05-29
 * Time: 15:06
 */

namespace Biz\service\wiki;

use Biz\module\Classes\wikiTab\WikiTab;

class WikiRecommend extends WikiTab
{
    const TAB_TYPE = 'wiki_detail_recommend';
    const PAGE_SIZE = null;

    public static function getList($wikiId, $uid)
    {
        $result = self::getWikiIdList(['wiki_id' => $wikiId]);

        $list = Wiki::getCompleteWikiList($result['rows'], $uid);

        return array_values($list);
    }

}